package com.lmk.ms.common.net.udp.client.service;

import java.net.DatagramSocket;
import java.net.InetAddress;

/**
 * UDP客户端业务服务
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2023/4/25
 */
public interface UdpClientService {

    /** UDP接收返回数据超时时间 */
    int RECEIVE_TIMEOUT = 3000;

    void handel(DatagramSocket socket, InetAddress serverAddress, int serverPort);
}
